load("//bazel:tachyon_cc.bzl", "tachyon_cc_library")

package(default_visibility = ["//visibility:public"])

tachyon_cc_library(
    name = "class",
    testonly = True,
    srcs = [
        "adder.cc",
        "colored_point.cc",
        "move_only_int.cc",
        "point.cc",
        "rect.cc",
        "variant.cc",
    ],
    hdrs = [
        "adder.h",
        "colored_point.h",
        "move_only_int.h",
        "point.h",
        "rect.h",
        "variant.h",
    ],
    deps = [
        ":enum",
        "@com_google_absl//absl/strings",
    ],
)

tachyon_cc_library(
    name = "enum",
    testonly = True,
    srcs = ["color.cc"],
    hdrs = ["color.h"],
    deps = ["//tachyon/base:logging"],
)

tachyon_cc_library(
    name = "functions",
    testonly = True,
    srcs = ["functions.cc"],
    hdrs = ["functions.h"],
)
